package com.course.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/*
@author By 林中小鸟
@package  com.self.introduction.entity
@create 2021 - 09 - 2021\9\28 0028
@QQ: 357182695
@Em: themooncss@gmail.com
*/
@TableName("category")
@Data
public class Category {

    @JsonSerialize(using= ToStringSerializer.class)
    @TableId(type = IdType.INPUT)
    private Long id;
    @TableField(value = "title",condition = SqlCondition.LIKE)
    private String title;
    @TableField(value = "description")
    private String description;
    @TableField(value = "create_time")
    private String createTime;
    @TableField(value = "update_time")
    private String updateTime;
}
